package com.mall.product.feign;

import com.mall.common.dto.SkuEsModel;
import com.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: 谢君臣
 * @Date: 2022/7/31-10:00
 * @version: 1.0
 * @function:
 */
@FeignClient("searchServer")
public interface SearchFeignClient {

    @PostMapping("/search/sku/save")
    Result productUp(@RequestBody List<SkuEsModel> skuEsModelList);
}
